<?php include($_SERVER['DOCUMENT_ROOT'] . "/includes/head-document.php"); ?>
<?php
@$tableName = $_GET['type'];
if (!isset($tableName)) {
    echo "<script language='javascript' type='text/javascript'>location.replace('/hush-Inn');</script>";
    exit();
}
$cols = "title,outline,content";
$url_end = str_replace("qt_", "", $tableName);
$reUrl = "/hush-Inn/skill/$url_end.php";
include($_SERVER['DOCUMENT_ROOT'] . "/includes/catch_article.php");

if (!isset($fa_ope)) {
    $fa_ope = "fa-ban";
}
if (isset($next_num)) {
    $next_arc = "/hush-Inn/skill/article.php/$next_num.tn?type=$tableName";
} else {
    $next_arc = "javascript:;";
}
?>
<body>
<div id="mainDiv">
    <div class="header">
        <a href="<?php echo $reUrl ?>" title="返回" class="header-logo">返回</a>
        <a href="<?php echo $next_arc ?>" class="header-navigation"><i class="fa <?php echo $fa_ope ?>"></i></a>
    </div>
    <div class="header-clear-big"></div>

    <div class="content">
        <!--        <div class="container no-bottom">-->
        <h3 class="center-text"><?php echo $info['title']; ?></h3>

        <p class="center-text"><?php echo $info['outline']; ?></p>

        <div class="decoration"></div>
        <?php echo $info['content']; ?>
        <!--        </div>-->
        <div class="decoration"></div>
    </div>

    <?php include($_SERVER['DOCUMENT_ROOT'] . "/includes/foot-two.php"); ?>
    <?php include($_SERVER['DOCUMENT_ROOT'] . "/includes/share.php"); ?>
</div>
</body>
